package xyz.csmcool.imuser.entity.vo;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author 什锦
 * @Package xyz.csmcool.imuser.entity.vo
 * @since 2022/8/3 14:30
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class HandleVo {


    @NotBlank(message = "内容不能空")
    private String username;


    @NotBlank(message = "内容不能空")
    @Email(message = "请输入正确的邮箱")
    private String email;


    @NotBlank(message = "内容不能空")
    private String message;
}
